#include "../include/cglobal.h"


int randomI(int a,int b){
	double r = (1.0 * random())/RAND_MAX;
	return a + r * (b-a);
}

int swap(int *a,int *b){
	int temp;
	temp = *a;
	*a = *b;
	*b = temp;
	return 0;
}


